ARDK for Android/com.nianticlabs.ardk.awareness.semantics/SemanticsSession
SemanticsSession
[androidJvm]
class SemanticsSession : SessionBase<SemanticsSession>
Creates a Semantics session for semantic understanding.
The Semantics feature allows you to understand the semantic content of the environment, identifying objects, surfaces, and other meaningful elements in the scene.
Functions
| Name | Summary |
|---|---|
| acquire | [androidJvm] @Synchronized fun acquire(): SemanticsSession |
| channelNames | [androidJvm] fun channelNames(): ARDKResult<Array<String>, AwarenessStatus> Gets the names of available semantic channels. |
| close | [androidJvm] @Synchronized open override fun close() |
| configure | [androidJvm] fun configure(config: SemanticsConfig) Configures semantics settings and parameters. |
| featureStatus | [androidJvm] fun featureStatus(): FeatureStatus Reports errors that have occurred with processes running inside this session. |
| latestConfidence | [androidJvm] fun latestConfidence(channelIndex: Int): ARDKResult<SemanticsResult, AwarenessStatus> Gets the latest semantics confidence data. |
| latestImageParams | [androidJvm] fun latestImageParams(): ARDKResult<AwarenessImageParams, AwarenessStatus> Gets the latest image parameters for semantics processing. |
| latestPackedChannel | [androidJvm] fun latestPackedChannel(): ARDKResult<SemanticsResult, AwarenessStatus> Gets the latest packed channel semantics data. |
| latestSuppressionMask | [androidJvm] fun latestSuppressionMask(): ARDKResult<SemanticsResult, AwarenessStatus> Gets the latest suppression mask data. |
| start | [androidJvm] fun start() Starts the semantics session. |
| stop | [androidJvm] fun stop() Stops the semantics session. |